<?php
/**
 * Globale Statistiken einer Serie.
 *
 * @author Timo
 */
class GlobalStatistics {
    private $series_id            = 0; // Verknüpfte Serie..

    protected $alltime_races      = 0;
    protected $alltime_seasons    = 0;
    private   $most_wins          = 'None'; // Driver-Objekt
    private   $most_poles         = 'None'; // Driver-Objekt
    private   $most_top5          = 'None'; // Driver-Objekt
    private   $most_championships = 'None'; // Driver-Objekt
  

    function GlobalStatistics($seriesId)
    {
        $this->series_id = $seriesId;
    }

    public function GetAllTimeRaces()
    {
        return $this->alltime_races;
    }
    
    public function GetAllTimeSeasons()
    {
        return $this->alltime_seasons;
    }
    
    public function GetTopWinner()
    {
        return $this->most_wins;
    }
    
    public function GetTopPolesetter()
    {
        return $this->most_poles;
    }
    
    public function GetTopTop5Driver()
    {
        return $this->most_top5;
    }
    
    public function GetTopChampion()
    {
        return $this->most_championships;
    }
    
    public function Load()
    {
        // TODO: DUMMY
    }
}

?>
